class CreateAddresses < ActiveRecord::Migration
  def self.up
	  create_table "addresses", :force => true do |t|
	    t.column "primary",    :boolean,  :default => false
	    t.column "firstname",  :text
	    t.column "lastname",   :text
	    t.column "address1",   :text
	    t.column "address2",   :text
	    t.column "city",       :text
	    t.column "state_id",   :integer
	    t.column "zipcode",    :text
	    t.column "country_id", :integer
	    t.column "created_at", :datetime
	    t.column "updated_at", :datetime
	    t.column "phone",      :string
	  end
  end

  def self.down
    drop_table "addresses"
  end
end